<template>
  <el-main>
    <div class="main-content">
      <router-view></router-view>
    </div>
  </el-main>
</template>

<script setup lang="ts" name="Main"></script>

<style scoped lang="scss">
.el-main {
  background-color: #edf0f4 !important;
  padding: 12px;
  height: calc(100vh - 48px); /* 假设头部高度为60px，根据实际情况调整 */
  overflow: auto;
}
.main-content {
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}
</style>
